
#ifndef	COLLISION_MESSAGE_HPP
#define	COLLISION_MESSAGE_HPP

#include <messenger/messenger.hpp>
#include <physics/physics.hpp>

class collision_message : public base_message_data
{
public:

	collision_message( std::string const & which, body_weak_ptr body_a, body_weak_ptr body_b )
		:		m_which( which )
			,	m_body_a( body_a )
			,	m_body_b( body_b )
	{}

	std::string m_which;
	body_weak_ptr m_body_a;
	body_weak_ptr m_body_b;

	static std::string name( )
	{
		return "collision_message";
	}
};

#endif	//COLLISION_MESSAGE_HPP
